CVE-2022-50521
platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]()
Description
In the Linux kernel, the following vulnerability has been resolved: platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]() The ACPI buffer memory (out.pointer) returned by wmi_evaluate_method() is not freed after the call, so it leads to memory leak. The method results in ACPI buffer is not used, so just pass NULL to wmi_evaluate_method() which fixes the memory leak.
INFO
Published Date :
Oct. 7, 2025, 4:15 p.m.
Last Modified :
Oct. 8, 2025, 7:38 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Ensure ACPI buffer memory is freed after wmi_evaluate_method() calls.
- Pass NULL to wmi_evaluate_method() when results are not used.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50521
.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50521
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50521
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50521
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50521
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 07, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]() The ACPI buffer memory (out.pointer) returned by wmi_evaluate_method() is not freed after the call, so it leads to memory leak. The method results in ACPI buffer is not used, so just pass NULL to wmi_evaluate_method() which fixes the memory leak. Added Reference https://git.kernel.org/stable/c/14bb4bde3b7b2584734b13747b345caeeb41bea3 Added Reference https://git.kernel.org/stable/c/17cd8c46cbec4e6ad593fb9159928b8e7608c11a Added Reference https://git.kernel.org/stable/c/379e7794c5e7485193d25d73614fbbd1e1387f6f Added Reference https://git.kernel.org/stable/c/3cf81501356c9e898ad94b2369ffc805f83f7d7b Added Reference https://git.kernel.org/stable/c/50ac517d6f5348b276f1f663799cf85dce521518 Added Reference https://git.kernel.org/stable/c/5b0f81b0808235967868e01336c976e840217108 Added Reference https://git.kernel.org/stable/c/727cc0147f5066e359aca65cc6cc5e6d64cc15d8 Added Reference https://git.kernel.org/stable/c/87426ce3bd57ad414b6e2436434ef8128986a9a5